package com.boot.springboot.component.helper.service;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.HashMap;

/**
 * @author luowenjie
 * @since 2021/12/17 17:27
 */
@Component
@Slf4j
public class BiInfoHelper2 {

    public HashMap<String, String> map = new HashMap<>();

    public void setBiInfoMap(HashMap<String, String> biInfoMap) {
        map = biInfoMap;
    }

    public String getBiInfo(String appId) {
        if (map != null) {
            return map.get(appId);
        }
        return null;
    }
}
